import request from '@/utils/request'

/*
* 获取运单分页数据的接口
*  */
export const fetchWaybillListAPI = (data) => {
  return request({
    url: '/manager/transport-order-manager/page',
    method: 'POST',
    data
  })
}

/*
* 获取运单详情的接口
*  */
export const fetchWaybillDetailAPI = (id) => {
  return request({
    url: `/manager/transport-order-manager/${id}`,
    method: 'GET'
  })
}
